package org.dromara.business.domain.vo;

import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;
import org.dromara.business.domain.ProductTable;

import java.io.Serial;
import java.io.Serializable;
import java.math.BigDecimal;



/**
 * 产品视图对象 product_table
 *
 * @author Lion Li
 * @date 2025-01-22
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = ProductTable.class)
public class ProductTableVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 产品id
     */
    @ExcelProperty(value = "产品id")
    private Long productId;

    /**
     * 产品名称
     */
    @ExcelProperty(value = "产品名称")
    private String productName;

    /**
     * 商品价格
     */
    @ExcelProperty(value = "商品价格")
    private BigDecimal price;

    /**
     * 商品库存
     */
    @ExcelProperty(value = "商品库存")
    private Long number;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

/**
 * 用户输入产品id
 */
private Long productIdTwo;
}
